package router

import (
	"api_gateway/handler/api"
	"github.com/gin-gonic/gin"
)

func Router(r *gin.Engine) {
	v1 := r.Group("/v1")
	{
		video := v1.Group("/video")
		{
			video.GET("/videoList", api.VideoList)             //视频列表
			video.GET("/videoListStatus", api.VideoListStatus) //隐藏不展示
			video.GET("/courseDetail", api.CourseDetail)       //详情
			video.GET("/myList", api.MyList)                   //我的收藏
		}
	}
}
